package tsg.graphic;

public class Color extends Image
{
	public static final Color RED   = new Color (255,   0,   0);
	public static final Color GREEN = new Color (  0, 255,   0);
	public static final Color BLUE  = new Color (  0,   0, 255);
	public static final Color WHITE = new Color (255, 255, 255);
	public static final Color BLACK = new Color (  0,   0,   0);
	public static final Color GREY  = new Color (125, 125, 125);
	
	public Color()
	{
		
	}
	
	public Color(Color color)
	{
		this(color.getRed(), color.getGreen(), color.getBlue());
	}
	
	public Color(int red, int green, int blue) 
	{
		this.setRed(red);
		this.setGreen(green);
		this.setBlue(blue);
	}

	public int getRed()
	{
		return _red;
	}
	
	public void setRed(int red)
	{
		_red = red;
	}
	
	
	public int getGreen()
	{
		return _green;
	}
	
	public void setGreen(int green)
	{
		_green = green;
	}
	
	
	public int getBlue()
	{
		return _blue;
	}
	
	public void setBlue(int blue)
	{
		_blue = blue;
	}
	
	
	
	
	
	private int _red	= 0;
	private int _green	= 0;
	private int _blue	= 0;
}
